import type { AppRouteModule } from '/@/router/types';

import { getParentLayout, LAYOUT } from '/@/router/constant';
//import { t } from '/@/hooks/web/useI18n';

const result: AppRouteModule = {
  path: '/baas/result',
  name: 'BaasResult',
  component: LAYOUT,
  redirect: '/baas/result/success',
  meta: {
    hideChildrenInMenu: true,
    icon: 'ion:grid-outline',
    title: '结果',
    orderNo: 0,
    hideMenu: true,
  },
  children: [
    {
      path: 'success',
      name: 'BaasSuccess',
      component: () => import('/@/views/baas/success.vue'),
      meta: {
        title: '成功',
        hideMenu: true,
      },
    },
  ],
};

export default result;
